package com.ruoyi.project.channel.channelSetting.mapper;

import com.ruoyi.project.channel.channelSetting.domain.ChannelSetting;
import java.util.List;	

/**
 * 码商配置 数据层
 * 
 * @author CAIN
 * @date 2019-09-07
 */
public interface ChannelSettingMapper 
{
	/**
     * 查询码商配置信息
     * 
     * @param rateId 码商配置ID
     * @return 码商配置信息
     */
	public ChannelSetting selectChannelSettingById(Long rateId);
	
	/**
     * 查询码商配置列表
     * 
     * @param channelSetting 码商配置信息
     * @return 码商配置集合
     */
	public List<ChannelSetting> selectChannelSettingList(ChannelSetting channelSetting);
	
	/**
     * 新增码商配置
     * 
     * @param channelSetting 码商配置信息
     * @return 结果
     */
	public int insertChannelSetting(ChannelSetting channelSetting);
	
	/**
     * 修改码商配置
     * 
     * @param channelSetting 码商配置信息
     * @return 结果
     */
	public int updateChannelSetting(ChannelSetting channelSetting);
	
	/**
     * 删除码商配置
     * 
     * @param rateId 码商配置ID
     * @return 结果
     */
	public int deleteChannelSettingById(Long rateId);
	
	/**
     * 批量删除码商配置
     * 
     * @param rateIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteChannelSettingByIds(String[] rateIds);
	
}